<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></meta>

<style type="text/css">
	*{
		margin:0px;
		padding:0px;
		}
	.maxbox{
		border:1px dashed black;
		height: 95mm;
		width: 80mm;
		margin:100px auto auto auto;
		}
	.upbox{
		height:65mm;
		width: 80mm;
		}
	
	.checked_remark{
		height: 7mm;
		width: 35mm;
		margin:1mm auto;
		}
	.info{
		width: 65mm;
		height: 60mm;
		margin:auto;
		}
	.txt1{
		width: 172px;
		border:none;
		height: 18px;
		display:inline-block;
		margin-left:4px;
		font-size:14px;
		border-bottom:1px solid black;
		}
	.info tr td{
		line-height: 6mm;
		}

	.downbox{
		height: 20mm;
		width: 80mm;
		margin:8mm auto;
			}
	.imgbox{
		width: 50mm;
		height: 15mm;
		margin:3mm auto;
		font-size:12px; 
		}
		.t_td{
			width:85px;
			text-align:right;
			height: 25px;
			}
			.t_td2{
			width:120px;		
			height: 25px;
			}
			.asd{float:left;}
			.sd{margin-right:15px;}
			.sg{margin-right:8px;}
			.sr{ margin-right:32px;}
			table tr td{ vertical-align:top; }
			.asdf{ border-bottom:1px solid #333;}
</style>
<body>
<?php 
if(isset($arr))
{
 foreach($arr as $v)
 {
?>
	<div class="maxbox">
		<div class="upbox">
			<div class="checked_remark"><center><h3>收货标识</h3></center></div>
			<div class="info">
				<table cellpadding="0" cellspacing="0" >
						<tr >
							<td style="width:75px;">收货单号:</td>
							<td style="width:176px;" class="asdf"><?php echo $recieve_invoice_id;?></td>
						</tr>
						<tr>
							<td><span class="asd sd">S</span><span class="asd sd">K</span><span class="asd">U:</span></td> 
							<td class="asdf"><?php echo $v['sku'];?></td>
						</tr>
						<tr>
							<td>中文名称:</td>
							<td class="asdf"><?php echo $v['sku_name'];?></td>
						</tr>
						<tr>
							<td><span class="asd sr">规</span><span class="asd">格:</span></td>
							<td class="asdf"><?php echo $v['sku_standard'];?></td>
						</tr>
						<tr>
							<td>采购数量:</td>
							<td class="asdf"><?php echo $v['quantity'];?></td>
						</tr>
						<tr>
							<td>到货数量:</td>
							<td class="asdf"><?php echo $v['arrival_quantity'];?></td>
						</tr>
						<tr>
							<td><span class="asd sg">收</span><span class="asd sg">货</span><span class="asd">员</span>:</td>
							<td class="asdf"><?php echo  $user_name;?></td>
						</tr>
						<tr>
							<td>收货日期:</td>
							<td class="asdf"><?php if(isset($v['recieve_time'])){echo $v['recieve_time'];}else{ echo date("Y-m-d H:i:s");}?></td>
						</tr>
						<tr>
							<td><span class="asd sr">储</span><span class="asd">位</span>:</td>
							<td class="asdf"><?php echo $v['storage_position'];?></td>
						</tr>
				</table>
			</div>
		</div>
		<div class="downbox">
				<div class="imgbox"><center><?php echo $v['id']; ?></center>
				<img style="height:10mm;width:43mm;" src="../chanage_code/barcode/html/image.php?code=code128&o=2&t=15&r=1.5&text=<?php echo $v['id'] ;?>&f1=-1&f2=8&a1=&a2=B&a3=" style="margin-top:10px;" />
				<center><?php echo $v['storage_position']; ?></center></div>
		</div>
	</div>
	<?php } }?>
</body> 




